package com.supermap.data.modal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

/**
 * 公告信息
 * TUser entity. @sun'f
 */
@Entity
@Table(name = "T_NOTICE")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class TNotice {

    /**
     * 主键
     */
    private String id;
    /**
     * 部门代码
     */
    private String dep_code;
    /**
     * 公告标题
     */
    private String notice_title;
    /**
     * 行业代码
     */
    private String industry_code;
    /**
     * 报告期
     */
    private String report;
    /**
     * 状态
     */
    private int status;
    /**
     * 创建时间
     */
    private Date create_time;


    public TNotice() {
    }

    public TNotice(String id, String dep_code, String notice_title, String industry_code, String report, int status, Date create_time) {
        this.id = id;
        this.dep_code = dep_code;
        this.notice_title = notice_title;
        this.industry_code = industry_code;
        this.report = report;
        this.status = status;
        this.create_time = create_time;
    }

    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "DEP_CODE")
    public String getDep_code() {
        return dep_code;
    }

    public void setDep_code(String dep_code) {
        this.dep_code = dep_code;
    }

    @Column(name = "NOTICE_TITLE")
    public String getNotice_title() {
        return notice_title;
    }

    public void setNotice_title(String notice_title) {
        this.notice_title = notice_title;
    }

    @Column(name = "INDUSTRY_CODE")
    public String getIndustry_code() {
        return industry_code;
    }

    public void setIndustry_code(String industry_code) {
        this.industry_code = industry_code;
    }

    @Column(name = "REPORT")
    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    @Column(name = "STATUS")
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
}
